function jsCard(_deck,_id)
{
	this.m_nID=_id;
	this.m_nDeck = _deck;
	this.m_szID = "Card: " + _id;
	
	this.printDebug = _jsCardDebug;
	
	
	jsCard.prototype.toString = function()
	{
		return "Card: " + this.m_nID + "Deck: " + this.m_nDeck + "<br/>";
	}
}

function _jsCardDebug()
{
	jsDebug.Throw("Card: " + this.m_nDeck + "|" + this.m_nID, 254, this.toString());
}